<div id="wrapper">
	<div id="header">
		<div class="top">
			<a class="logo" href="<?php print $front_page; ?>"></a> <a
				class="title" href="<?php print $front_page; ?>">
				<div class="main">
					<?php print $site_name ?>
				</div>
				<div class="url">Бесплатные юридические консультации</div>
				<div class="slogan">
					<?php print $site_slogan; ?>
				</div>
			</a>
			<a href="http://credo-expert.com.ua/" class="advokat_link"></a>
			<?php
			print render($page['header']);
			?>
		</div>
		<?php
		print render($page['main_menu']);
		?>
	</div>
	<!-- #header-->
	<?php if ($messages): ?>
	<div id="messages">
		<div class="section clearfix">
			<?php print $messages; ?>
		</div>
	</div>
	<!-- /.section, /#messages -->
	<?php endif; ?>
	<div id="middle">

		<div id="container">
			<div id="content">
				<div class="pad">
					<?php if ($breadcrumb): ?>
					<div id="breadcrumb">
						<?php print $breadcrumb; ?>
					</div>
					<?php endif; ?>
					<div class="header">
						<?php if ($title): ?>
						<div class="title" id="page-title">
							<?php print $title; ?>
						</div>
						<?php endif; ?>
					</div>
					<?php if ($tabs): ?>
					<div class="tabs">
						<?php print render($tabs); ?>
					</div>
					<?php endif; ?>
					<?php print render($page['help']); ?>
					<?php if ($action_links): ?>
					<ul class="action-links">
						<?php print render($action_links); ?>
					</ul>
					<?php endif; ?>
					<?php print render($page['content']); ?>
				</div>
			</div>
			<!-- #content-->
		</div>
		<!-- #container-->

		<div class="sidebar" id="sideLeft">
			<?php print render($page['menu']); ?>
			<?php print render($page['calculation']); ?>
			<?php print render($page['left_sidebar']); ?>
		</div>
		<!-- .sidebar#sideLeft -->

		<div class="sidebar" id="sideRight">
			<?php print render($page['best_per_week']); ?>
			<?php print render($page['side_search']); ?>
			<?php print render($page['news']); ?>
			<?php print render($page['right_sidebar']); ?>
		</div>
		<!-- .sidebar#sideRight -->

	</div>
	<!-- #middle-->

	<div id="footer">
		<div class="pad">
			<div class="bg"></div>
			<div class="copiright">
				<div class="title">uritek.com.ua © 2012</div>
				<div class="slogan">Бесплатные юридические консультации</div>
				<div class="logo"></div>
			</div>
			<div class="counter">
				<?php print render($page['footer']); ?>
			</div>
		</div>
	</div>
	<!-- #footer -->

</div>
<!-- #wrapper -->
